
<%@ page contentType="text/html;charset=utf-8"%>
<%@ page
	import="java.io.*, java.sql.*, java.util.*, java.text.*, napal.*, util.*"%>
<%@ page import="org.apache.ibatis.*"%>
<%
	request.setCharacterEncoding("utf-8");
%>
<%
	String r_id = request.getParameter("r_id");

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>대여사유</title>
<!-- Bootstrap -->
<script src="./bootstrap/js/bootstrap.js"></script>
<link href="./bootstrap/css/bootstrap.css" rel="stylesheet"
	media="screen">
</head>
<script>

function userWinClose(){

 window.close();

}

</script>




<body>
<table class="table"  width="80%">

<tr height=20%><td><h5><b>대여사유</b></h5></td></tr><tr height=80%><td>
<%
		if(r_id!=null){
			for(RentalWait w : RentalHome.getReason(Integer.parseInt(r_id))){
				%><%=w.get대여사유() %><%
			}
		}
		%><br><br><br><br>
</td></tr></table>
<p align="center"><button onclick=userWinClose()>닫기</button></p>
</body>
</html>